#-- mode: python -*-

import os

Import( "env" )
env = env.Copy()

p = os.path.realpath( "libgip" )
env.Append( CPPPATH=[ os.path.join( p, "include" ) ] )
env.Append( LIBPATH=[ os.path.join( p, "lib" ), "/home/ec2002/ra005113/wxlib/lib", "/usr/X11R6/lib" ] )
env.Append( LIBS=[ "gip","wx_gtk2_xrc-2.6","wx_gtk2_qa-2.6","wx_gtk2_html-2.6", "wx_gtk2_adv-2.6", "wx_gtk2_core-2.6", "wx_base_xml-2.6 " ] )

static = ""
#if env[ "static" ]:
#    static = " --static=yes"

#env.ParseConfig( "wx-config-2.6 --unicode=no --cppflags --libs %s" % \
#                 ( static, ) )

env.Program( [ "gui.cpp", "guistub.c" ] )
